<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div style="width: 100vw;height: 100vh;">
    <h1 style="display: flex;justify-content: center;">这是一个点赞页面</h1>
    <table style="width: 100%;">
        <tr style="width: 100%;">
            <th>id</th>
            <th>节日</th>
            <th>投票次数</th>
            <th>操作</th>
        </tr>
        {% for item in list %}
        <tr>
            <td>{{item.id}}</td>
            <td>{{item.name}}</td>
            <td>{{item.count}}</td>
            <td>
                <a href="/vote?id={{item.id}}">投票</a>
                <a href="/cencel?id={{item.id}}">取消投票</a>
            </td>
            {% endfor %}
        </tr>
    </table>
</div>
</body>
</html>
<style>
    td,th{
        text-align: center;
    }
</style>